package com.gobo.jinghuimall.product.vo;

import com.gobo.jinghuimall.product.entity.SkuImagesEntity;
import com.gobo.jinghuimall.product.entity.SkuInfoEntity;
import com.gobo.jinghuimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

@Data
public class SkuItemVo {
    // 1. skuInfo `pms_sku_info`
    public SkuInfoEntity skuInfoEntity;
    // 是否有货
    public Boolean hasStock = true;
    // 2. skuImg  `pms_sku_imges`
    public List<SkuImagesEntity> skuImages;
    // 3. spu 销售属性组合
    public List<SkuItemSaleAttrVo> spuSaleAttrs;
    // 4. spu 的介绍 `pms_spu_desc`
    public SpuInfoDescEntity spuDesc;
    // 5. spu 规格参数
    public List<SpuItemAttrGroupVo> spuAttrGroupVos;
}
